import React from 'react'
import ReactDOM from 'react-dom'
import Son from './son'

class App extends React.Component {
  render() {
    return (
      <div>
        父组件
        <Son p1="普通props">
          <div>
            <h1>你好</h1>
          </div>
        </Son>
      </div>
    )
  }
}

ReactDOM.render(
  <div>
    <App />
  </div>,
  document.getElementById('root')
)
